﻿using System;

namespace OnlineJudgeClient
{
    /// <summary>
    /// OJ服务客户端操作
    /// </summary>
    public static class TcpClient
    {
        /// <summary>
        /// 
        /// </summary>
        public static void RouterIgnoreGroup()
        {
            using (OnlineJudge.tcpClient.RouterServer.tcpClient client = new OnlineJudge.tcpClient.RouterServer.tcpClient())
            {
                client.TcpIgnoreGroup(int.MaxValue);
                client.TcpIgnoreGroup(0);
            }
        }
        /// <summary>
        /// 
        /// </summary>
        public static void OJIgnoreGroup()
        {
            using (OnlineJudge.tcpClient.Server.tcpClient client = new OnlineJudge.tcpClient.Server.tcpClient())
            {
                client.TcpIgnoreGroup(int.MaxValue);
                client.TcpIgnoreGroup(0);
            }
        }
    }
}
